home *** CD-ROM | disk | FTP | other *** search
- * This is the stub which you should copy (place the modified version in
- * your Wizard's directory), rename, and modify to call your wizard.
-
-
- PARAMETER cOutFileVarName, p2, p3, p4, p5, p6, p7, p8, p9
- LOCAL cClassLib,cProcs,cWizardToRun,cPaletteSettings
-
- m.cClassLib = set('classlib')
-
- * This Wizard contains several 8-bit images that share the same palette.
- * We must set FoxPro's palette off in order for the one that the
- * bitmaps share to be used.
-
- m.cPaletteSettings = set('palette')
- SET PALETTE OFF
-
- * Parm checking
- IF TYPE("m.p2") #"C"
- m.p2 = ""
- ENDIF
-
- IF TYPE("m.p3") #"C"
- m.p3 = ""
- ENDIF
-
- * Handle AUTOFORM case here
- IF "AUTOFORM" $ UPPER(m.p2)
- cProcs = set('procedure')
- SET PROCEDURE TO wzengine
- SET PROCEDURE TO wizinet ADDITIVE
- oWizard=create('iwizengine')
- IF !EMPTY(m.cOutFileVarName) && output file name provided
- oWizard.cOutFile = m.cOutFileVarName
- ENDIF
- oWizard.autoform
- m.cOutFileVarName = oWizard.cOutFile
- RELEASE oWizard
- SET PROCEDURE TO &cProcs
- RETURN
- ENDIF
- m.cWizardToRun = "internetwiz" && Internet wizard
-
- SET CLASS TO INETWIZ ADDITIVE
- set CLASS TO WIZARD ADDITIVE
-
- * The name "oWizard" is used in automated testing and should *NOT* be changed.
- public oWizard
-
- oWizard = createobj(m.cWizardToRun,m.cOutFileVarName, m.p2, m.p3, m.p4, ;
- m.p5, m.p6, m.p7, m.p8, m.p9)
-
- if type('oWizard') = 'O' .and. .not. isnull(oWizard)
- oEngine.aEnvironment[17,1] = m.cClassLib
- oEngine.AddObject('oFileInfo','FileInfo')
- oEngine.oFileInfo.cFilePath=LOWER(oEngine.JustPath(SYS(16)))+'\'
- oWizard.Show()
- endif
-
- if type('oWizard') = 'O' .and. .not. isnull(oWizard)
- * It must be modeless, so leave it alone
- else
- release oWizard
- endif
-
- SET MESSAGE TO
- set palette &cPaletteSettings
-
- CLEAR CLASS &cWizardToRun
- CLEAR CLASS wiztemplate
-
- RETURN
-
- PROCEDURE dummy
- * This routine is used to resolve Project array references.
- public aflddata[1],afielddata[1],atmpglobals,awizfields,aparms
- public aflddata[1],aglobals[1],aafielddata[1],atmpglobals[1]
- public awizfields[1],aparms[1]
- ENDPROC
-
- PROCEDURE fxsettype
- *This resolves Mac FOXTOOLS reference
- ENDPROC
-
- DEFINE CLASS FileInfo AS Custom
- cFilePath=''
- ENDDEFINE
-